-
Notifications
You must be signed in to change notification settings - Fork 1.4k
fix: retry computed qrl execution when not ready #7470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Introduce a new QRL component to handle inner computed QRL logic and add an e2e test to verify its behavior. The test ensures that the counter updates correctly without uncaught promises. Additionally, update the QRL class to use `retryOnPromise` for better error handling during QRL resolution.
🦋 Changeset detectedLatest commit: 9d50c28 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
…be block The describe block was removed to streamline the test file and improve readability. The test logic remains unchanged, focusing on verifying the counter update functionality without uncaught promises.
commit: |
refactor(qrl): simplify promise handling in QRL class by removing redundant retryOnPromise
|
weird, looks like it makes e2e hang :( does |
|
Yes. It's fine on my side. Let me try it on my own computer. But do it late |
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
Introduce a new QRL component to handle inner computed QRL logic and add an e2e test to verify its behavior. The test ensures that the counter updates correctly without uncaught promises. Additionally, update the QRL class to use `retryOnPromise` for better error handling during QRL resolution.
…be block The describe block was removed to streamline the test file and improve readability. The test logic remains unchanged, focusing on verifying the counter update functionality without uncaught promises.
refactor(qrl): simplify promise handling in QRL class by removing redundant retryOnPromise
…4/qwik into 7442_fix_promise_fail
|
@Varixo Now it's fine |
| '@qwik.dev/core': patch | ||
| --- | ||
|
|
||
| FIX: Introduce retry logic for QRL resolution to handle potential promise retries, ensuring robustness in asynchronous operations. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤖😅👌
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's problem here ?
wmertens
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great @JerryWu1234 ! LGTM 🚀
What is it?
fixes #7442
feat(qrl): add e2e test and retry logic for QRL resolution
Add a new e2e test to verify QRL behavior without uncaught promises. Introduce retry logic for QRL resolution to handle potential promise retries, ensuring robustness in asynchronous operations.
Description
Checklist
pnpm change